package dao;

import java.util.Iterator;
import java.util.List;
import java.util.Set;
import domain.Board;
import domain.Question;

public interface BoardDao {

	public abstract List<Board> list();

	public abstract void save(Board board);

	public abstract void update(Board board);
   public abstract void delete(int boardId);
   public abstract Board findById(int boardId);
   public abstract Set<Question> getQuestionSet(int boardId);
   public abstract Iterator<Question> getQuestionIterator(int boardId);
}